<?php
$v_worktype_id = "";
if(isset($_REQUEST['hdn_worktype_id'])){
	$v_worktype_id = _replace_bad_char(trim($_REQUEST['hdn_worktype_id']));
}
if(_is_sqlserver()){//CSDL MSSQL 
	if($v_worktype_id <> ""){
		$sql = "Exec Onegate_WorkTypeAttachFileGetAll " . "'" .$v_worktype_id . "'";
		$arr_all_file = _adodb_query_data_in_name_mode($sql);
	}
}?>